package com.yz.aiks.multimodules;

import com.google.common.base.Stopwatch;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.concurrent.TimeUnit;

/**
 * @author <a href="mailto:aiks_yuan@163.com">yuanz</a>
 * @date 2022-02-17 17:22
 * @since 1.0.0
 **/
@SpringBootApplication
public class MultiModulesProjectApplication {
    private static final Logger log = LoggerFactory.getLogger(MultiModulesProjectApplication.class);
    
    public static void main(String[] args) {
        Stopwatch stopwatch = Stopwatch.createStarted();
        SpringApplication.run(MultiModulesProjectApplication.class, args);
        log.info("MultiModulesProjectApplication 项目启动耗时:[{}]秒", stopwatch.elapsed(TimeUnit.SECONDS));
    }
}
